package com.define.commons.demo.datax.domain;

import com.define.commons.dao.domain.BaseModel;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author 谢文龙
 * @Date 2018/10/30 10:36
 * @Description
 */
@Data
@Entity
@Builder
@Table(schema = "act", name = "process")
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class Process extends BaseModel {

    @Column(name = "name", nullable = false,columnDefinition = "VARCHAR(50) COMMENT '名称'")
    private String name;

    private String sex;

    private Integer age;

    private String no;
}
